<dl class="attachbox">
  <dt>上传文件</dt>
<% upload_files.each do |upload_file| %>
  <dd>		
    <dl class="file">
      <dt>
        <% if is_image_file(upload_file) %>
          <a rel="group" href="/<%= upload_file.attachment.url %>" title="<%= upload_file.comment %>" class="upload_image">
            <img height="100" width="140" src="/<%= upload_file.attachment.url %>"/>
          </a>
        <% else %>
          <img height="10" width="7" title="" alt="" src="<%= images_root %>icon_topic_attach.gif"/> 
           <a href="/<%= upload_file.attachment.url %>" class="postlink"><%= upload_file.file.original_filename %></a> 
        <% end %>
      </dt>
      <dd style='width:200px;'><em><%= upload_file.comment %></em></dd>			
    </dl>
  </dd>
<% end %>
</dl>
